#include "channelsetupdialog.h"
#include "ui_channelsetupdialog.h"

channelSetupDialog::channelSetupDialog(QWidget *parent)
    : QDialog(parent)
    , ui(new Ui::channelSetupDialog)
{
    ui->setupUi(this);
}

channelSetupDialog::~channelSetupDialog()
{
    delete ui;
}

void channelSetupDialog::setRowData(const QStringList &data)
{
    // 将数据设置到对话框的输入框中
    // ui->lineEdit1->setText(data.value(0));
    // ui->lineEdit2->setText(data.value(1));
    // ui->lineEdit3->setText(data.value(2));
}

QStringList channelSetupDialog::getRowData() const
{
    // 获取对话框中的输入数据
    QStringList data;
    // data << ui->lineEdit1->text();
    // data << ui->lineEdit2->text();
    // data << ui->lineEdit3->text();
    return data;
}
